package hcn.protocol.ods.returnVisit;

import hcn.protocol.base.hisPlateform.BaseHisPlateformClpInfoXmlRequest;
import hcn.protocol.base.hisPlateform.BaseHisPlateformPatientXmlRequest;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/**
 * Created by ChenJij on 2019/12/6.
 */
@XmlRootElement(name = "MsgBody")
public class UpdateVisitStatusRequestBean {

    /**
     * organizationId : 47272296-8
     * admNumber : 15605031757688304
     * visitStatus : 2
     */

    private String organizationId;//医院代码
    private String departmentId;//科室代码
    private String doctorId;//医生代码
    private String admNumber;//就诊序号
    private int visitStatus;//就诊状态：1 诊中 2 挂起 9 结束就诊
    private String hisUrl;
    private BaseHisPlateformPatientXmlRequest patient;
    private List<BaseHisPlateformClpInfoXmlRequest> clpInfos;

    @XmlElement(name = "Patient")
    public BaseHisPlateformPatientXmlRequest getPatient() {
        return patient;
    }

    public void setPatient(BaseHisPlateformPatientXmlRequest patient) {
        this.patient = patient;
    }

    @XmlElementWrapper(name = "ClpInfos")
    @XmlElement(name = "ClpInfo")
    public List<BaseHisPlateformClpInfoXmlRequest> getClpInfos() {
        return clpInfos;
    }

    public void setClpInfos(List<BaseHisPlateformClpInfoXmlRequest> clpInfos) {
        this.clpInfos = clpInfos;
    }

    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    public String getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(String doctorId) {
        this.doctorId = doctorId;
    }

    public String getHisUrl() {
        return hisUrl;
    }

    public void setHisUrl(String hisUrl) {
        this.hisUrl = hisUrl;
    }

    @XmlElement(name = "VisitOrganization")
    public String getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }

    @XmlElement(name = "VisitId")
    public String getAdmNumber() {
        return admNumber;
    }

    public void setAdmNumber(String admNumber) {
        this.admNumber = admNumber;
    }

    @XmlElement(name = "VisitStatus")
    public int getVisitStatus() {
        return visitStatus;
    }

    public void setVisitStatus(int visitStatus) {
        this.visitStatus = visitStatus;
    }
}